import { EChartComponent } from '@/components/ECharts'
import { offlinePortalOptions } from './options'

export const OfflinePortal = (props: any) => {
	return props.offlinePortalData ? (
		<EChartComponent option={offlinePortalOptions(props.offlinePortalData)} />
	) : undefined
}
